package com.cedarhd.brzx.controller;

import org.springframework.stereotype.Component;


/**
 * 访问路径
 * @author Evan
 * @date 2018/03/05
 */
@Component
public class Routes {
    public static final String HOME = "/";

    public static final String BACKEND = "/backend/";
    public static final String FRONTEND = "/frontend/";

    /**
     * 学生
     */
    public static final String STUDENT_ADD = BACKEND+"/student/add";
    public static final String STUDENT_DETAIL = BACKEND+"/student/detail";
    public static final String STUDENT_LIST = FRONTEND +"/student/list";


    private static final String TL_PAY = "/tlpay";
    private static final String SOA_MBMBER = "/soa/member";
    private static final String SOA_ORDER = "/soa/order";

    /**
     * 通联支付创建会员
     */
    public static final String SOA_MEMBER_CREATE_MEMBER = TL_PAY + SOA_MBMBER+"/createMember";
    public static final String SOA_MEMBER_SEND_VERIFICATION_CODE= TL_PAY + SOA_MBMBER + "/sendVerificationCode";
    public static final String SOA_MEMBER_BIND_PHONE= TL_PAY +  SOA_MBMBER + "/bindPhone";
    public static final String SOA_MEMBER_CHANGE_BIND_PHONE = TL_PAY +  SOA_MBMBER + "/changeBindCard";
    public static final String SOA_MEMBER_GET_MEMBER_INFO = TL_PAY +  SOA_MBMBER + "/getMemberInfo";
    public static final String SOA_MEMBER_REAL_AUTH = TL_PAY + SOA_MBMBER + "/realNameAuthentication";


    /**
     * 通联支付绑卡相关
     */
    public static final String SOA_MEMBER_BANK_CARD_BIN = TL_PAY + SOA_MBMBER+"/getBankCardBin";
    public static final String SOA_MEMBER_BANK_CARD_BIND_APPLY= TL_PAY + SOA_MBMBER + "/bindBankCardApply";
    public static final String SOA_MEMBER_BANK_CARD_BIND= TL_PAY +  SOA_MBMBER + "/bindBankCard";
    public static final String SOA_MEMBER_BANK_CARD_UN_BIND= TL_PAY +  SOA_MBMBER + "/unbindBankCard";
    public static final String SOA_MEMBER_BANK_CARD_SET_SAFE_CARD = TL_PAY + SOA_MBMBER + "/setSafeCard";
    public static final String SOA_MEMBER_BANK_CARD_QUERY_SAFE_CARD = TL_PAY + SOA_MBMBER + "/querySafeCard";

    /**
     * 通联支付企业相关
     */
    public static final String SOA_MEMBER_ENTERPRISE_INFORMATION = TL_PAY + SOA_MBMBER + "/enterpriseInformation";
    public static final String SOA_MEMBER_ENTERPRISE_VERIFY_RESULT = TL_PAY + SOA_MBMBER + "/enterpriseVerifyResult";

    /**
     * 通联支付订单相关
     */
    public static final String SOA_ORDER_DEPOSIT_APPLY = TL_PAY + SOA_ORDER + "/depositApply";

}
